package com.ddn.model.roomManagement;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- 天道酬勤 ---
 *
 * @author XieYp
 * @desc
 * @date 2022/12/29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Leaver {


    /** 房间编号;房间编号 */
    private Integer id ;
    /** 房间号 */
    private Integer roomNum ;
    /** 退房时间 */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")//接收
    private Date leaveTime ;
    /** 押金结余 */
    private Double depMoney ;
    /** 保洁人员 */
    private String cleaningStaff ;
    /** 房间状态;房间状态 */
    private Integer status ;


}
